﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Orders.aspx.vb" Inherits="Orders" %>

<%@ Register Assembly="MoniMisi2" Namespace="MoniMisi2" TagPrefix="MM2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="App_Themes/Tema/estilos.css" rel="stylesheet" type="text/css" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <MM2:ScriptManager ID="ScriptManager" runat="server">
    </MM2:ScriptManager>
    <div>
        <MM2:ProveedorDatosServidor ID="Orders" runat="server" WebMethod="ManejoOrders">
        </MM2:ProveedorDatosServidor>
        <MM2:ProveedorDatosServidor ID="OrderDetails" runat="server" WebMethod="ManejoOrderDetails">
        </MM2:ProveedorDatosServidor>
        <table>
            <tr>
                <td style="color: Black; font-size: 24px">
                    Ordenes
                </td>
            </tr>
            <tr>
                <td>
                    <table class="Orders">
                        <tr style="height :30px">
                            <th>
                                Id
                            </th>
                            <th>
                                Cliente
                            </th>
                            <th>
                                Empleado
                            </th>
                            <th>
                                Creado
                            </th>
                            <th>
                                Requerido
                            </th>
                            <th>
                                Enviado
                            </th>
                            <th>
                                Via
                            </th>
                            <th>
                                Flete
                            </th>
                            <th>
                                Enviado a
                            </th>
                        </tr>
                        <tr runat="server" id="RegistroOrders" class="FilaOrders">
                            <td id="Orders_OrderID">
                            </td>
                            <td id="Orders_CompanyName">
                            </td>
                            <td id="Orders_EmployeeName">
                            </td>
                            <td id="Orders_OrderDate">
                            </td>
                            <td id="Orders_RequiredDate">
                            </td>
                            <td id="Orders_ShippedDate">
                            </td>
                            <td id="Orders_ShipperName" style="width:100px">
                            </td>
                            <td id="Orders_Freight" style="width:80px; text-align :right ">
                            </td>
                            <td id="Orders_ShipName" style="width:300px">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="color: Black; font-size: 24px">
                    Detalle
                </td>
            </tr>
            <tr>
                <td>
                    <table class="OrderDetails">
                        <tr style="height :30px">
                            <th>
                                Id
                            </th>
                            <th>
                                Producto
                            </th>
                            <th>
                                Precio Uniatio
                            </th>
                            <th>
                                Cantidad
                            </th>
                            <th>
                                Descuento
                            </th>
                        </tr>
                        <tr runat="server" id="RegistroOrderDetails" class="FilaOrderDetails">
                            <td id="OrderDetails_OrderID">
                            </td>
                            <td id="OrderDetails_ProductName" style="width:400px">
                            </td>
                            <td id="OrderDetails_UnitPrice" style="width:80px; text-align :right ">
                            </td>
                            <td id="OrderDetails_Quantity" style="width:80px; text-align :right ">
                            </td>
                            <td id="OrderDetails_Discount" style="width:80px; text-align :right ">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <MM2:Grilla runat="server" ID="GrillaOrders" TargetControlID="RegistroOrders" Filas="7"
            IDDatos="Orders" />
        <MM2:Grilla runat="server" ID="GrillaOrderDetails" TargetControlID="RegistroOrderDetails"
            Filas="4" IDDatos="OrderDetails" />
        <MM2:Relacion ID="Relacion" runat="server" IdGrillaCabecera="GrillaOrders" IdGrillaDetalle="GrillaOrderDetails"
            ColumnaClave="OrderID"  RefrescarEn ="Seleccion"  />
    </div>
    </form>
</body>
</html>
